import request from '@/utils/request'

export default{
  byssjPageCondition(current, limit, szyxwQuery) {
    return request({
      url: `/h/d_bysfxshb/getPagebyssjBytj/${current}/${limit}`,
      method: 'post',
      data: szyxwQuery
    })
  },
  getbyssj(current,limit) {
    return request({
      url: `/h/d_bysfxshb/getAllPagebyssjBytj/${current}/${limit}`,
      method: 'get',
    })
  },
  removeById(Id) {
    return request({
        url: `/h/d_bysfxshb/deleteById/${Id}`,
        method: 'delete'
    })
},
  exportdata(exportExcel) {
    return request({
        url: `/excel/exportsxbys`,
        method: 'post',
        data: exportExcel,
        responseType: 'blob'
    })
},

getbysById(id) {
  return request({
      url: `/h/d_bysfxshb/getbysById/${id}`,
      method: 'get',
  })
},
updatebysById(updatebys) {
  return request({
      url: `/h/d_bysfxshb/update`,
      method: 'post',
      data: updatebys
  })
},

}
